package com.example.demo.mapper;

import com.example.demo.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    List<Employee> EmployeeList();

    Employee queryEmployeeById(int id);

    int addEmployee(Employee employee);

    int deleteEmployee(int id);

    int updateEmployee(Employee employee);
}
